*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── THEME TOKENS ─────────────────────────────────────── */
:root {
    --gold: #C9A84C;
    --gold2: #E6C86E;
    --base-fs: 16px;
    --red: #c0392b;
    --muted: #8A96A8;
    --green: #1e8449;
    --orange: #d35400;
    --gold-pale: #FBF0D3;
    --gold-dark: #7A5C1A;
    --ink: #1E2A3A;
    --green: #16A34A;
    --am: #D97706;
    --blue: #2563EB;
    --purple: #7C3AED;

}

[data-theme="light"] {
    --bg: #FFFFFF;
    --bg1: #F2F5FB;
    --bg2: #F4F6FB;
    --bg3: #E8EDF5;
    --navy: #0A1628;
    --navy2: #132040;
    --surface: #FFFFFF;
    --card: #FFFFFF;
    --text: #1E2A3A;
    --text2: #4A5568;
    --text3: #FFFFFF;
    --border: #D4DBE8;
    --header-bg: #0A1628;
    --footer-bg: #132040;
    --hero-overlay: rgba(10, 22, 40, .88);
    --strip-bg: #0A1628;
    --strip-text: rgba(255, 255, 255, .65);
    --input: #F4F7FC;
}

[data-theme="dark"] {
    --bg: #0D1117;
    --bg2: #161B24;
    --bg3: #1E2636;
    --navy: #0A1628;
    --navy2: #0A1628;
    --surface: #1A2233;
    --card: #1E2A3A;
    --text: #E8EDF5;
    --text2: #A8B6CC;
    --text3: #dadada;
    --muted: #6A7A8E;
    --border: #2A3650;
    --header-bg: #060D18;
    --footer-bg: #060D18;
    --hero-overlay: rgba(5, 10, 20, .92);
    --strip-bg: #060D18;
    --strip-text: rgba(255, 255, 255, .55);
    --border: #1C3050;
    --input: #0C1828;
}

html {
    font-size: var(--base-fs);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    transition: background .3s, color .3s;
}

.error-danger {
    font-size: 11px;
    color: #f00;
}

/* --- Avatar button pill (sits in desktop nav) --- */
.user-btn-wrap {
    position: relative;
    margin-left: 8px;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    cursor: pointer;
    transition: background .18s, border-color .18s;
}

.user-btn:hover {
    background: rgba(201, 168, 76, .18);
    border-color: rgba(201, 168, 76, .45);
}

/* Avatar — photo */
.av-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(201, 168, 76, .55);
    flex-shrink: 0;
    display: block;
}

/* Avatar — initials fallback */
.av-initials {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, #7A5C1A 100%);
    border: 1.5px solid rgba(201, 168, 76, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .5px;
    flex-shrink: 0;
}

.user-btn-name {
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .88);
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-btn-chev {
    font-size: .6rem;
    color: rgba(255, 255, 255, .4);
    transition: transform .22s;
    flex-shrink: 0;
}

.user-btn-wrap.dd-open .user-btn-chev {
    transform: rotate(180deg);
}

.user-btn-wrap.dd-open .user-btn {
    background: rgba(201, 168, 76, .18);
    border-color: rgba(201, 168, 76, .45);
}

/* --- Dropdown panel --- */
.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(10, 22, 40, .22), 0 2px 8px rgba(10, 22, 40, .1);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(.97);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 9999;
}

.user-btn-wrap.dd-open .user-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Dropdown header */
.dd-hd {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}

.dd-av-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.dd-av-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, #7A5C1A 100%);
    border: 2px solid rgba(201, 168, 76, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.dd-user-info {
    flex: 1;
    min-width: 0;
}

.dd-uname {
    font-size: .82rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.dd-ureg {
    font-size: .65rem;
    color: var(--muted);
    margin-bottom: 4px;
}

.dd-ulevel {
    display: inline-block;
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #7A5C1A;
    background: rgba(201, 168, 76, .13);
    border: 1px solid rgba(201, 168, 76, .28);
    border-radius: 10px;
    padding: 2px 8px;
}

/* Dropdown items */
.dd-items {
    padding: 5px 0;
}

.dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    cursor: pointer;
    color: var(--text2);
    font-size: .78rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .12s, color .12s;
}

.dd-item:hover {
    background: var(--bg2);
    color: var(--text);
}

.dd-ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.dd-ico-profile {
    background: rgba(37, 99, 235, .09);
}

.dd-ico-dashboard {
    background: rgba(22, 163, 74, .09);
}

.dd-ico-settings {
    background: rgba(124, 58, 237, .09);
}

.dd-ico-logout {
    background: rgba(220, 38, 38, .08);
}

.dd-item-txt {
    flex: 1;
}

.dd-item-lbl {
    font-size: .78rem;
    font-weight: 600;
    color: inherit;
    line-height: 1.2;
}

.dd-item-sub {
    font-size: .62rem;
    color: var(--muted);
    margin-top: 1px;
}

.dd-item.dd-logout .dd-item-lbl {
    color: #DC2626;
}

.dd-item.dd-logout:hover {
    background: rgba(220, 38, 38, .05);
}

.dd-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

/* --- Mobile user section inside the drawer --- */
.mob-user-section {
    /* border-top: 1px solid rgba(255, 255, 255, .1); */
    /* padding: 16px 20px 8px; */
    padding: 0px 20px;
}

.mob-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 12px;
}

.mob-av-photo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.mob-av-initials {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, #7A5C1A 100%);
    border: 2px solid rgba(201, 168, 76, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.mob-user-info .mob-uname {
    font-size: .84rem;
    font-weight: 700;
    color: #fff;
}

.mob-user-info .mob-ureg {
    font-size: .62rem;
    color: rgba(255, 255, 255, .45);
    margin-top: 2px;
}

.mob-user-info .mob-ulevel {
    display: inline-block;
    margin-top: 4px;
    font-size: .54rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #7A5C1A;
    background: rgba(201, 168, 76, .15);
    border: 1px solid rgba(201, 168, 76, .3);
    border-radius: 10px;
    padding: 2px 8px;
}

.mob-user-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mob-user-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .7);
    font-size: .84rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .13s, color .13s;
}

.mob-user-links a:hover {
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .95);
}

.mob-user-links .mob-link-ico {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.mob-logout-link .mob-link-ico {
    background: rgba(220, 38, 38, .12);
}

.mob-logout-link {
    color: #F87171 !important;
}

.mob-logout-link:hover {
    background: rgba(220, 38, 38, .08) !important;
}

@media (max-width: 768px) {

    .mob-user-section {
        position: fixed;
        bottom: 10px;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: var(--navy);
        /* background: var(--surface); */

        /* animation */
        transform: translateY(70%);
        transition: transform 0.3s ease;

        /* border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25); */
    }

    .mob-user-section.open {
        transform: translateY(0);
    }

    /* optional: drag handle */
    .mob-user-section::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 4px;
        margin: 8px auto 6px;
    }
}


/* ── ACCESSIBILITY BAR ────────────────────────────────── */
.access-bar {
    background: var(--header-bg);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding: 5px 32px;
}

.access-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.access-info {
    font-size: .7rem;
    color: rgba(255, 255, 255, .5);
}

.access-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.acc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .8);
    font-family: 'Inter', sans-serif;
    font-size: .7rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, color .18s;
    white-space: nowrap;
    gap: 5px;
}

.acc-btn:hover {
    background: rgba(201, 168, 76, .25);
    color: var(--gold2);
    border-color: rgba(201, 168, 76, .4);
}

.acc-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, .12);
    margin: 0 4px;
}

.font-size-display {
    font-size: .65rem;
    color: rgba(255, 255, 255, .45);
    min-width: 28px;
    text-align: center;
}

/* Theme toggle pill */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    padding: 3px 10px 3px 4px;
    cursor: pointer;
    transition: background .18s;
}

.theme-toggle:hover {
    background: rgba(201, 168, 76, .2);
}

.toggle-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.toggle-label {
    font-size: .68rem;
    color: rgba(255, 255, 255, .75);
    font-weight: 600;
}

/* ── TOP BAR ──────────────────────────────────────────── */
.top-bar {
    background: var(--gold);
    text-align: center;
    padding: 6px 20px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: .5px;
}

/* ── HEADER ───────────────────────────────────────────── */
header {
    background: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 16px;
    color: var(--navy);
    flex-shrink: 0;
}

.logo-text .brand {
    font-family: 'Merriweather', serif;
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
}

.logo-text .sub {
    font-size: .65rem;
    color: var(--gold2);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

nav a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 500;
    padding: 8px 13px;
    border-radius: 6px;
    transition: background .18s, color .18s;
}

nav a:hover,
nav a.active {
    color: #fff;
    background: rgba(201, 168, 76, .18);
}

nav a.active {
    color: var(--gold2);
}

.btn-login {
    margin-left: 6px;
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 700 !important;
    padding: 9px 20px !important;
    border-radius: 6px !important;
}

.btn-login:hover {
    background: var(--gold2) !important;
}

/* ══════════════════════════════════════════════════════
       SLIDER A — WITH TEXT + LOGIN CARD
    ══════════════════════════════════════════════════════ */
.slider-section-label {
    background: var(--bg2);
    padding: 10px 32px 0;
    max-width: 100%;
}

.slider-section-label .label-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.slider-section-label .label-pill {
    background: var(--navy);
    color: var(--gold2);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.slider-section-label .label-title {
    font-family: 'Merriweather', serif;
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
}

.slider-section-label .label-desc {
    font-size: .72rem;
    color: var(--muted);
    margin-left: auto;
}

/* ── HERO A: With Text + Login ─── */
.hero-a {
    position: relative;
    height: 580px;
    overflow: hidden;
    background: #0A1628;
}

.slide-a {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.slide-a.active {
    opacity: 1;
}

.slide-a .img-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 6s ease;
}

.slide-a.active .img-layer {
    transform: scale(1);
}

/* Ken Burns subtle zoom */
.slide-a-1 .img-layer {
    background-image: url('https://images.unsplash.com/photo-1606761568499-6d2451b23c66?w=1600&q=80');
}

.slide-a-2 .img-layer {
    background-image: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?w=1600&q=80');
}

.slide-a-3 .img-layer {
    background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1600&q=80');
}

/* Dark gradient overlay left-heavy for readability */
.slide-a .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
            rgba(8, 17, 35, .93) 0%,
            rgba(8, 17, 35, .78) 38%,
            rgba(8, 17, 35, .38) 65%,
            rgba(8, 17, 35, .1) 100%);
}

.hero-a-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.slide-a-text {
    flex: 1;
    max-width: 520px;
}

.slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, .18);
    border: 1px solid rgba(201, 168, 76, .4);
    color: var(--gold2);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.slide-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.slide-a-text h1 {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.7rem, 3.2vw, 2.9rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 16px;
}

.slide-a-text h1 em {
    color: var(--gold2);
    font-style: normal;
}

.slide-a-text p {
    color: rgba(255, 255, 255, .7);
    font-size: .88rem;
    line-height: 1.8;
    max-width: 420px;
    margin-bottom: 28px;
}

.slide-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.slide-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    padding: 5px 13px;
    color: rgba(255, 255, 255, .82);
    font-size: .72rem;
    font-weight: 500;
}

.slide-badge::before {
    content: '✓';
    color: var(--gold2);
    font-weight: 700;
}

/* Progress bar at bottom of slide */
.slide-a-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10;
    background: rgba(255, 255, 255, .12);
}

.slide-a-progress-fill {
    height: 100%;
    background: var(--gold);
    width: 0%;
    transition: width linear;
}

/* ── LOGIN CARD ─────────────────── */
.login-card {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 32px 28px;
    width: 320px;
    flex-shrink: 0;
    box-shadow: 0 28px 60px rgba(0, 0, 0, .45);
    border-top: 4px solid var(--gold);
    transition: background .3s;
}

[data-theme="dark"] .login-card {
    background: rgba(26, 34, 51, .97);
}

.login-card-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.login-card-logo .lc-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 10px;
    color: var(--navy);
}

.login-card-logo .lc-text {
    font-family: 'Merriweather', serif;
    font-size: .8rem;
    font-weight: 900;
    color: var(--text);
}

.login-card-logo .lc-sub {
    font-size: .58rem;
    color: var(--muted);
}

.login-card h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 4px;
}

.login-card .sub-text {
    font-size: .68rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 13px;
}

.form-group label {
    display: block;
    font-size: .67rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
    letter-spacing: .3px;
}

.form-group input {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: 7px;
    font-family: 'Inter', sans-serif;
    font-size: .82rem;
    color: var(--text);
    background: var(--bg2);
    outline: none;
    transition: border-color .18s, box-shadow .18s, background .3s;
}

.form-group input:focus {
    border-color: var(--gold);
    background: var(--bg);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, .15);
}

.form-group input::placeholder {
    color: var(--muted);
}

.btn-submit {
    width: 100%;
    padding: 11px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, transform .1s;
    margin-top: 4px;
}

.btn-submit:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-1px);
}

.login-divider {
    text-align: center;
    font-size: .67rem;
    color: var(--muted);
    margin-top: 11px;
}

.login-divider a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

/* ── SLIDER SHARED UI ──── */
.slider-arrows-row {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.sa-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background .18s;
    user-select: none;
}

.sa-arrow:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.slider-dots-row {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: background .2s, width .2s;
}

.dot.active {
    background: var(--gold);
    width: 40px;
}

/* Slide counter badge */
.slide-counter {
    position: absolute;
    top: 20px;
    right: 40px;
    z-index: 10;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: .68rem;
    color: rgba(255, 255, 255, .7);
    font-weight: 600;
}

.slide-counter span {
    color: var(--gold2);
}

/* Slide caption strip at bottom */
.slide-caption-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 8;
    background: linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, transparent 100%);
    height: 120px;
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════
       SLIDER B — WITHOUT TEXT (Pure Image Showcase)
    ══════════════════════════════════════════════════════ */
.hero-b {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: #0A1628;
}

.slide-b {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide-b.active {
    opacity: 1;
}

.slide-b .img-layer-b {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 7s ease;
}

.slide-b.active .img-layer-b {
    transform: scale(1);
}

.slide-b-1 .img-layer-b {
    background-image: url('https://images.unsplash.com/photo-1497633762265-9d179a990aa6?w=1600&q=80');
}

.slide-b-2 .img-layer-b {
    background-image: url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?w=1600&q=80');
}

.slide-b-3 .img-layer-b {
    background-image: url('https://images.unsplash.com/photo-1571260899304-425eee4c7efc?w=1600&q=80');
}

.slide-b-4 .img-layer-b {
    background-image: url('https://images.unsplash.com/photo-1427504494785-3a9ca7044f45?w=1600&q=80');
}

/* Very subtle vignette — no heavy overlay */
.slide-b .vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .45) 100%);
}

/* Thin gold line at bottom */
.slide-b .gold-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
    z-index: 5;
}

/* Thumbnail nav strip for slider B */
.thumb-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.thumb-item {
    width: 72px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s, transform .2s, opacity .2s;
    opacity: .55;
}

.thumb-item.active {
    border-color: var(--gold);
    opacity: 1;
    transform: scale(1.05);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fallback thumb colors if images slow */
.thumb-1 {
    background: #1a5276;
}

.thumb-2 {
    background: #1e8449;
}

.thumb-3 {
    background: #7b241c;
}

.thumb-4 {
    background: #6c3483;
}

/* B counter */
.b-counter {
    position: absolute;
    top: 20px;
    left: 40px;
    z-index: 10;
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, .18);
    line-height: 1;
    user-select: none;
}

.b-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, .12);
    border: 1.5px solid rgba(255, 255, 255, .22);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background .18s;
    user-select: none;
}

.b-arrow:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.b-arrow.prev {
    left: 22px;
}

.b-arrow.next {
    right: 22px;
}

/* ── INFO STRIP ───────────────────────────────────────── */
.info-strip {
    background: var(--strip-bg);
    padding: 48px 32px;
    border-bottom: 2px solid var(--gold);
}

.info-strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.info-item {
    text-align: center;
    padding: 8px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.info-item:last-child {
    border-right: none;
}

.info-num {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.info-label {
    font-size: .78rem;
    color: var(--strip-text);
}

/* ── LEADERSHIP ───────────────────────────────────────── */
.leadership {
    background: var(--bg2);
    padding: 72px 32px;
    transition: background .3s;
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
}

.section-eyebrow {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    color: var(--text);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.7;
}

.leaders-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.leader-card {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 22, 40, .08);
    text-align: center;
    transition: transform .22s, box-shadow .22s, background .3s;
}

.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(10, 22, 40, .15);
}

.leader-avatar-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, #dce4f0 0%, #c2cedf 100%);
    display: flex;
    /* align-items: center; */
    justify-content: center;
}

[data-theme="dark"] .leader-avatar-placeholder {
    background: linear-gradient(145deg, #1e2a3a 0%, #2a3850 100%);
}

.avatar-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(10, 22, 40, .1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-icon svg {
    width: 40px;
    height: 40px;
    fill: rgba(10, 22, 40, .3);
}

[data-theme="dark"] .avatar-icon svg {
    fill: rgba(201, 168, 76, .3);
}

.leader-info {
    padding: 18px 14px 20px;
}

.leader-designation {
    display: inline-block;
    background: var(--navy);
    color: var(--gold2);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 9px;
}

.leader-name {
    font-family: 'Merriweather', serif;
    font-size: .9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.leader-title {
    font-size: .72rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ── COURSES PREVIEW ──────────────────────────────────── */
.courses-preview {
    padding: 72px 32px;
    background: var(--bg);
    transition: background .3s;
}

.courses-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* ─── CARD BASE ─── */
.courses-card {
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 0.5px solid #d8d2c244;
    box-shadow: 0 4px 24px #1a2d5a10;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.courses-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px #1a2d5a18;
}

/* ─── THUMBNAIL ─── */
.course-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    position: relative;
}

.course-thumb-wrap {
    position: relative;
    overflow: hidden;
}

.course-thumb-wrap svg {
    width: 100%;
    height: 160px;
    display: block;
}

.course-badge {
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    background: #c8a84b;
    color: #1a2d5a;
}

.course-badge-foundation {
    background: #c8a84b;
    color: #1a2d5a;
}

.course-badge-intermediate {
    background: #1a2d5a;
    color: #c8a84b;
}

.course-badge-final {
    background: #2c1a5a;
    color: #d4a8ff;
}

/* ─── BODY ─── */
.course-card-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a2d5a;
    line-height: 1.35;
    margin-bottom: 12px;
}

.course-meta-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.course-meta-item {
    flex: 1;
    background: #f5f3ee;
    border-radius: 8px;
    padding: 8px 10px;
}

.course-meta-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #9a8a60;
    margin-bottom: 3px;
}

.course-meta-value {
    font-size: 12px;
    font-weight: 600;
    color: #1a2d5a;
}

.course-group-select {
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    color: #1a2d5a;
    background: #f4e9cd;
    border: 0.5px solid #c8a84b;
    padding: 2px 7px;
    border-radius: 20px;
}

/* ─── BOTTOM ROW: fees + button ─── */
.course-card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 0.5px solid #e8e3d8;
    gap: 10px;
}

.course-fees-block .course-fees-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9a8a60;
}

.course-fees-block .course-fees-amount {
    font-size: 20px;
    font-weight: 700;
    color: #1a2d5a;
    line-height: 1.1;
}

.course-fees-block .course-fees-amount sup {
    font-size: 12px;
    font-weight: 500;
    color: #7a8aaa;
}

.course-join-btn {
    background: #1a2d5a;
    color: #c8a84b;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.course-join-btn:hover {
    background: #122040;
}

.course-join-btn:active {
    transform: scale(0.97);
}

/* variant buttons */
.course-join-btn.gold {
    background: #c8a84b;
    color: #1a2d5a;
}

.course-join-btn.gold:hover {
    background: #b8941e;
}

.course-join-btn.purple {
    background: #2c1a5a;
    color: #d4a8ff;
}

.course-join-btn.purple:hover {
    background: #1e1040;
}


/* ── FOOTER ───────────────────────────────────────────── */
footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, .65);
    transition: background .3s;
}

.footer-top {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 32px 36px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 36px;
}

.footer-brand p {
    font-size: .8rem;
    line-height: 1.7;
    max-width: 280px;
    margin-top: 14px;
}

.footer-col h4 {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold2);
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    font-size: .8rem;
    transition: color .15s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-contact p {
    font-size: .8rem;
    line-height: 1.8;
}

.footer-contact a {
    color: var(--gold2);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 16px 32px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .7rem;
    color: rgba(255, 255, 255, .35);
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, .35);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, .65);
}

/* ══════════════════════════════════════════════════════════
       HAMBURGER MENU
    ══════════════════════════════════════════════════════════ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    gap: 5px;
    background: rgba(255, 255, 255, .08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .15);
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .28s ease, opacity .2s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--header-bg);
    z-index: 999;
    flex-direction: column;
    padding: 0;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-links {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: background .15s, color .15s;
}

.mobile-nav-links a:hover {
    background: rgba(201, 168, 76, .12);
    color: var(--gold2);
}

.mobile-nav-links a.active {
    color: var(--gold2);
}

.mobile-nav-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.mobile-login-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--gold);
    color: var(--navy);
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    font-size: .95rem;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 998;
}

.mobile-nav-overlay.open {
    display: block;
}

/* ══════════════════════════════════════════════════════════
       TABLET — 768px to 1024px
    ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

    /* Header */
    nav a:not(.btn-login) {
        padding: 7px 9px;
        font-size: .76rem;
    }

    /* Slider A */
    .hero-a {
        height: auto;
        min-height: 560px;
    }

    .hero-a-content {
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        padding: 32px 28px 80px;
        gap: 28px;
    }

    .slide-a-text {
        max-width: 100%;
        text-align: center;
    }

    .slide-a-text h1 {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }

    .slide-a-text p {
        max-width: 600px;
        margin: 0 auto 24px;
    }

    .slide-badges {
        justify-content: center;
    }

    .login-card {
        width: 100%;
        max-width: 480px;
    }

    .slide-a .overlay {
        background: linear-gradient(180deg,
                rgba(8, 17, 35, .55) 0%,
                rgba(8, 17, 35, .75) 50%,
                rgba(8, 17, 35, .92) 100%);
    }

    .slider-arrows-row {
        bottom: 86px;
    }

    .slide-counter {
        top: 14px;
        right: 20px;
    }

    /* Slider B */
    .hero-b {
        height: 320px;
    }

    .thumb-item {
        width: 58px;
        height: 36px;
    }

    .b-counter {
        font-size: 1.6rem;
    }

    /* Stats strip */
    .info-strip {
        padding: 36px 24px;
    }

    .info-strip-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .info-item {
        border-right: 1px solid rgba(255, 255, 255, .1);
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        padding: 20px 16px;
    }

    .info-item:nth-child(2n) {
        border-right: none;
    }

    .info-item:nth-child(3),
    .info-item:nth-child(4) {
        border-bottom: none;
    }

    /* Leadership */
    .leadership {
        padding: 56px 24px;
    }

    .leaders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    /* Courses */
    .courses-preview {
        padding: 56px 24px;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 40px 24px 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 16px 24px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    /* Section label */
    .slider-section-label {
        padding: 8px 24px 0;
    }

    .label-desc {
        display: none;
    }
}

/* ══════════════════════════════════════════════════════════
       MOBILE — up to 767px
    ══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

    /* Access bar */
    .access-bar {
        padding: 5px 16px;
    }

    .access-info {
        display: none;
    }

    .acc-btn {
        height: 24px;
        padding: 0 8px;
        font-size: .65rem;
    }

    .toggle-label {
        display: none;
    }

    .theme-toggle {
        padding: 3px 8px 3px 4px;
    }

    /* Top bar */
    .top-bar {
        font-size: .62rem;
        padding: 5px 16px;
    }

    /* Header */
    .header-inner {
        padding: 10px 16px;
    }

    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    /* Slider A */
    .hero-a {
        min-height: 100dvh;
        height: auto;
    }

    .hero-a-content {
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        padding: 20px 16px 72px;
        gap: 20px;
    }

    .slide-a .overlay {
        background: linear-gradient(180deg,
                rgba(8, 17, 35, .3) 0%,
                rgba(8, 17, 35, .6) 40%,
                rgba(8, 17, 35, .96) 100%);
    }

    .slide-a-text {
        text-align: left;
    }

    .slide-a-text h1 {
        font-size: clamp(1.4rem, 6vw, 1.9rem);
    }

    .slide-a-text p {
        font-size: .82rem;
        line-height: 1.65;
        margin-bottom: 18px;
        max-width: 100%;
    }

    .slide-eyebrow {
        font-size: .6rem;
        padding: 4px 10px;
        margin-bottom: 12px;
    }

    .slide-badges {
        gap: 8px;
    }

    .slide-badge {
        font-size: .68rem;
        padding: 4px 10px;
    }

    /* Login card on mobile — compact */
    .login-card {
        width: 100%;
        max-width: 100%;
        padding: 22px 18px;
        border-radius: 12px;
    }

    .login-card-logo {
        display: none;
    }

    .login-card h2 {
        font-size: .95rem;
    }

    .login-card .sub-text {
        font-size: .65rem;
        margin-bottom: 14px;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .form-group label {
        font-size: .65rem;
    }

    .form-group input {
        padding: 9px 11px;
        font-size: .8rem;
    }

    .btn-submit {
        padding: 11px;
        font-size: .85rem;
    }

    /* Slider A navigation */
    .slider-dots-row {
        bottom: 52px;
        gap: 6px;
    }

    .dot {
        width: 18px;
        height: 3px;
    }

    .dot.active {
        width: 28px;
    }

    .slider-arrows-row {
        bottom: 54px;
        right: 16px;
    }

    .sa-arrow {
        width: 32px;
        height: 32px;
        font-size: .9rem;
    }

    .slide-counter {
        top: 10px;
        right: 16px;
        font-size: .6rem;
        padding: 3px 9px;
    }

    /* Slider B */
    .hero-b {
        height: 220px;
    }

    .thumb-nav {
        gap: 5px;
        bottom: 10px;
    }

    .thumb-item {
        width: 46px;
        height: 28px;
        border-radius: 4px;
    }

    .b-counter {
        font-size: 1.2rem;
        top: 12px;
        left: 16px;
    }

    .b-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .b-arrow.prev {
        left: 12px;
    }

    .b-arrow.next {
        right: 12px;
    }

    /* Section label */
    .slider-section-label {
        padding: 8px 16px 0;
    }

    .label-inner {
        flex-wrap: wrap;
        gap: 6px;
    }

    .label-desc {
        display: none;
    }

    /* Stats */
    .info-strip {
        padding: 28px 16px;
    }

    .info-strip-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .info-item {
        padding: 16px 12px;
        border-right: 1px solid rgba(255, 255, 255, .1);
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .info-item:nth-child(2n) {
        border-right: none;
    }

    .info-item:nth-child(3),
    .info-item:nth-child(4) {
        border-bottom: none;
    }

    .info-num {
        font-size: 1.6rem;
    }

    .info-label {
        font-size: .68rem;
    }

    /* Leadership */
    .leadership {
        padding: 40px 16px;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .section-header p {
        font-size: .8rem;
    }

    .leaders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .leader-name {
        font-size: .8rem;
    }

    .leader-title {
        font-size: .65rem;
    }

    .leader-designation {
        font-size: .56rem;
        padding: 2px 7px;
    }

    .leader-info {
        padding: 12px 10px 14px;
    }

    /* Courses */
    .courses-preview {
        padding: 40px 16px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .course-banner {
        height: 90px;
        font-size: 1.3rem;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 16px 24px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 14px 16px;
        font-size: .65rem;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
}

/* ══════════════════════════════════════════════════════════
       SMALL MOBILE — up to 380px (tight phones)
    ══════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
    .logo-text .brand {
        font-size: .95rem;
    }

    .logo-text .sub {
        display: none;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .slide-a-text h1 {
        font-size: 1.3rem;
    }

    .leaders-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .hero-b {
        height: 180px;
    }

    .thumb-item {
        width: 38px;
        height: 24px;
    }
}

/* ---------------------- OTP Page Start ---------------------- */
.back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    font-size: 13px;
    transition: color .18s;
}

.back-link:hover {
    color: var(--bg);
}

/* ── MAIN ─────────────────────────────────────── */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    background: var(--bg3);
}

.otp-wrapper {
    width: 100%;
    max-width: 920px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(10, 22, 40, .14);
}

/* Left panel */
.otp-panel-left {
    background: linear-gradient(150deg, var(--navy2) 0%, #0d1f42 100%);
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.otp-panel-left::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, .12) 0%, transparent 70%);
    top: -80px;
    left: -60px;
}

.otp-panel-left::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, .08) 0%, transparent 70%);
    bottom: -40px;
    right: -40px;
}

.left-top {
    position: relative;
    z-index: 1;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(201, 168, 76, .15);
    border: 1px solid rgba(201, 168, 76, .3);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold2);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.secure-badge::before {
    content: '🔒';
    font-size: 12px;
}

.left-top h2 {
    font-family: 'Merriweather', serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--bg);
    line-height: 1.25;
    margin-bottom: 14px;
}

.left-top h2 span {
    color: var(--gold2);
}

.left-top p {
    color: rgba(255, 255, 255, .65);
    font-size: 13.5px;
    line-height: 1.7;
}

.left-steps {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(201, 168, 76, .2);
    border: 1.5px solid rgba(201, 168, 76, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold2);
    flex-shrink: 0;
}

.step-item.done .step-num {
    background: rgba(30, 132, 73, .25);
    border-color: rgba(30, 132, 73, .5);
    color: #6fcf97;
}

.step-item.done .step-num::after {
    content: '✓';
}

.step-text strong {
    display: block;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    margin-bottom: 3px;
}

.step-text span {
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
}

/* Right panel */
.otp-panel-right {
    background: var(--bg);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
}

.user-info-bar {
    background: var(--bg2);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.user-info-bar .label {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 2px;
}

.user-info-bar .value {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.change-link {
    font-size: 12px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.otp-panel-right h3 {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 6px;
}

.otp-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.otp-desc strong {
    color: var(--text);
}

/* OTP inputs */
.otp-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

.otp-digit {
    flex: 1;
    height: 60px;
    border: 2px solid #D4DBE8;
    border-radius: 10px;
    text-align: center;
    font-family: 'Merriweather', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    background: var(--bg2);
    outline: none;
    transition: border-color .18s, background .18s, box-shadow .18s;
    -moz-appearance: textfield;
    width: 10px;
}

.otp-digit::-webkit-outer-spin-button,
.otp-digit::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.otp-digit:focus {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, .15);
}

.otp-digit.filled {
    border-color: var(--gold);
    background: #fffdf5;
}

.otp-digit.error {
    border-color: var(--red) !important;
    background: #fff5f5 !important;
}

/* Timer */
.otp-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.timer-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
}

.timer-ring {
    width: 32px;
    height: 32px;
    position: relative;
}

.timer-ring svg {
    width: 32px;
    height: 32px;
    transform: rotate(-90deg);
}

.timer-ring circle {
    fill: none;
    stroke-width: 3;
}

.timer-ring .bg {
    stroke: #E5EAF2;
}

.timer-ring .prog {
    stroke: var(--gold);
    stroke-dasharray: 82;
    stroke-linecap: round;
    transition: stroke-dashoffset .9s linear;
}

.timer-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--navy);
}

.resend-btn {
    background: none;
    border: none;
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.resend-btn:disabled {
    color: var(--muted);
    text-decoration: none;
    cursor: default;
}

/* Verify button */
.btn-verify {
    width: 100%;
    padding: 15px;
    background: var(--navy);
    color: var(--bg);
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, transform .1s;
    letter-spacing: .5px;
    margin-bottom: 16px;
}

.btn-verify:hover {
    background: var(--navy2);
    transform: translateY(-1px);
}

.btn-verify:active {
    transform: translateY(0);
}

.btn-verify:disabled {
    background: #c5ccd8;
    cursor: not-allowed;
    transform: none;
}

/* Success state */
.success-screen {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: #e8f8ef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.success-screen h3 {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 8px;
}

.success-screen p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.btn-dashboard {
    display: inline-block;
    padding: 13px 32px;
    background: var(--green);
    color: white;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s;
}

.btn-dashboard:hover {
    background: #166838;
}

/* Error message */
.error-msg {
    display: none;
    color: var(--red);
    font-size: 12px;
    background: #fff5f5;
    border: 1px solid #fcc;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.policy-note {
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: auto;
    padding-top: 24px;
}

.policy-note a {
    color: var(--gold);
    text-decoration: none;
}

@media (max-width: 760px) {
    .otp-wrapper {
        grid-template-columns: 1fr;
    }

    .otp-panel-left {
        padding: 36px 28px;
    }

    .otp-panel-right {
        padding: 36px 24px;
    }

    .left-steps {
        display: none;
    }
}

/* ---------------------- OTP Page End ---------------------- */


/* ---------------------- Student Login Page Start ---------------------- */
/* ── CARD WRAPPER — identical size & radius to OTP page ── */
.student-login-login-wrapper {
    width: 100%;
    max-width: 920px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(10, 22, 40, .14);
}

/* ── LEFT PANEL — mirrors OTP left panel exactly ── */
.student-login-login-panel-left {
    background: linear-gradient(150deg, var(--navy2) 0%, #0d1f42 100%);
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.student-login-login-panel-left::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, .12) 0%, transparent 70%);
    top: -80px;
    left: -60px;
}

.student-login-login-panel-left::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, .08) 0%, transparent 70%);
    bottom: -40px;
    right: -40px;
}

.student-login-left-top {
    position: relative;
    z-index: 1;
}

.student-login-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(201, 168, 76, .15);
    border: 1px solid rgba(201, 168, 76, .3);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold2);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.student-login-secure-badge::before {
    content: '🎓';
    font-size: 12px;
}

.student-login-left-top h2 {
    font-family: 'Merriweather', serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--text3);
    line-height: 1.25;
    margin-bottom: 14px;
}

.student-login-left-top h2 span {
    color: var(--gold2);
}

.student-login-left-top p {
    color: rgba(255, 255, 255, .65);
    font-size: 13.5px;
    line-height: 1.7;
}

/* Step tracker — same as OTP page */
.student-login-left-steps {
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.student-login-step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.student-login-step-item:last-child {
    margin-bottom: 0;
}

.student-login-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(201, 168, 76, .2);
    border: 1.5px solid rgba(201, 168, 76, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold2);
    flex-shrink: 0;
}

/* Step 1 is active on login page */
.student-login-step-item.active .student-login-step-num {
    background: rgba(201, 168, 76, .25);
    border-color: var(--gold);
    color: var(--gold2);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, .1);
}

.student-login-step-item.done .student-login-step-num {
    background: rgba(30, 132, 73, .25);
    border-color: rgba(30, 132, 73, .5);
    color: #6fcf97;
}

.student-login-step-item.done .student-login-step-num::after {
    content: '✓';
}

.student-login-step-text strong {
    display: block;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    margin-bottom: 3px;
}

.student-login-step-text span {
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
}

/* Vertical connector between steps */
.student-login-step-connector {
    width: 2px;
    height: 18px;
    background: rgba(201, 168, 76, .18);
    margin: 4px 0 4px 14px;
}

/* ── RIGHT PANEL — mirrors OTP right panel exactly ── */
.student-login-login-panel-right {
    background: var(--text3);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
}

/* Top logo strip */
.student-login-rp-logo-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--bg3);
}

.student-login-rp-logo-icon {
    width: 38px;
    height: 38px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 12px;
    color: var(--navy);
    flex-shrink: 0;
}

.student-login-rp-logo-text .t1 {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-weight: 900;
    color: var(--navy);
}

.student-login-rp-logo-text .t2 {
    font-size: 10px;
    color: var(--muted);
    margin-top: 1px;
}

/* Form heading */
.student-login-login-panel-right h3 {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 6px;
}

.student-login-login-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

/* Form fields */
.student-login-form-group {
    margin-bottom: 18px;
}

.student-login-form-group label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 7px;
    letter-spacing: .3px;
}

.student-login-form-group label span {
    color: var(--muted);
    font-weight: 400;
}

.student-login-form-input {
    width: 100%;
    padding: 13px 15px;
    border: 2px solid var(--muted);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--muted);
    background: var(--slate);
    outline: none;
    transition: border-color .18s, background .18s, box-shadow .18s;
}

.student-login-form-input:focus {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, .15);
}

.student-login-form-input::placeholder {
    color: var(--muted);
}

.student-login-form-input.error {
    border-color: var(--red) !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .1) !important;
}

/* Input with icon */
.student-login-input-wrap {
    position: relative;
}

.student-login-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
}

.student-login-input-wrap .student-login-form-input {
    padding-left: 42px;
}

/* Date input — keep calendar icon on right */
.student-login-form-input[type="date"] {
    padding-left: 42px;
    cursor: pointer;
}

/* Password toggle */
.student-login-pw-wrap {
    position: relative;
}

.student-login-pw-wrap .student-login-form-input {
    padding-right: 44px;
}

.student-login-pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 15px;
    padding: 0;
    line-height: 1;
    transition: color .15s;
}

.student-login-pw-toggle:hover {
    color: var(--navy);
}

/* Error message */
.student-login-error-msg {
    display: none;
    color: var(--red);
    font-size: 12px;
    background: #fff5f5;
    border: 1px solid #fcc;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.student-login-error-msg.show {
    display: block;
}

/* Remember me + forgot */
.student-login-form-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 10px;
    flex-wrap: wrap;
}

.student-login-remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.student-login-remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
}

.student-login-remember-me span {
    font-size: 12.5px;
    color: var(--muted);
    user-select: none;
}

.student-login-forgot-link {
    font-size: 12.5px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.student-login-forgot-link:hover {
    text-decoration: underline;
}

/* Submit button — mirrors .btn-verify exactly */
.student-login-btn-login {
    width: 100%;
    padding: 15px;
    background: var(--navy);
    color: var(--text3);
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, transform .1s;
    letter-spacing: .5px;
    margin-bottom: 16px;
}

.student-login-btn-login:hover {
    background: var(--navy2);
    transform: translateY(-1px);
}

.student-login-btn-login:active {
    transform: translateY(0);
}

.student-login-btn-login:disabled {
    background: #c5ccd8;
    cursor: not-allowed;
    transform: none;
}

/* Loading spinner inside button */
.student-login-btn-login .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

.student-login-btn-login.loading .spinner {
    display: inline-block;
}

.student-login-btn-login.loading .btn-text {
    opacity: .7;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Divider */
.student-login-or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.student-login-or-divider::before,
.student-login-or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #EEF1F7;
}

.student-login-or-divider span {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
}

/* OTP login option */
.student-login-btn-otp-login {
    width: 100%;
    padding: 13px;
    background: transparent;
    color: var(--navy);
    border: 2px solid #D4DBE8;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .18s;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.student-login-btn-otp-login:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 168, 76, .04);
}

/* Register link */
.student-login-register-note {
    text-align: center;
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 0;
}

.student-login-register-note a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.student-login-register-note a:hover {
    text-decoration: underline;
}

/* Policy note — same as OTP page */
.student-login-policy-note {
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: auto;
    padding-top: 22px;
}

.student-login-policy-note a {
    color: var(--gold);
    text-decoration: none;
}

/* ── FOOTER ── */
footer {
    background: var(--navy);
    text-align: center;
    padding: 16px 32px;
    font-size: 12px;
    color: rgba(255, 255, 255, .4);
}

/* ── RESPONSIVE — mirrors OTP breakpoint ── */
@media (max-width: 760px) {
    .student-login-login-wrapper {
        grid-template-columns: 1fr;
    }

    .student-login-login-panel-left {
        padding: 36px 28px;
    }

    .student-login-login-panel-right {
        padding: 36px 24px;
    }

    .student-login-left-steps {
        display: none;
    }
}

@media (max-width: 400px) {
    .student-login-login-panel-right {
        padding: 28px 18px;
    }

    .student-login-login-panel-left {
        padding: 28px 20px;
    }

    .student-login-login-panel-left .left-top h2 {
        font-size: 21px;
    }
}

/* ---------------------- Student Login Page End ---------------------- */